package com.demo.travel.fragment;

import android.content.Intent;
import android.view.View;

import com.demo.travel.R;
import com.demo.travel.activity.RestaurantActivity;
import com.demo.travel.base.BaseFragment;

import butterknife.OnClick;

public class LiveFragment extends BaseFragment {


    @Override
    public int getLayout() {
        return R.layout.fragment_live;
    }

    @Override
    public String getTitle() {
        return "生活";
    }

    @Override
    public void requestData() {

    }

    @OnClick(R.id.cantingLayout)
    public void onClick(View view){
        switch (view.getId()) {
            case R.id.cantingLayout:
                Intent intent = new Intent(getActivity(), RestaurantActivity.class);
                startActivity(intent);
                break;
        }
    }
}
